<wxs module="dateFr" src="../../js/filter.wxs"></wxs>
<!-- 浮层 -->
<view id='float_view' wx:if="{{showFloat}}" bindtap='hideView'></view>

<view id='info_view' wx:if="{{showInfo}}" >
    <label class="msg">确认充值</label>
    <li>
        <label><image class='icon' src="{{urlAddress}}/me_icon_youhui.png" />优惠信息:</label>
        <label>{{promLabel}}</label>
    </li>
     <li>
        <label><image class='icon' src="{{urlAddress}}/meal_icon_shop.png" />参与门店:</label>
        <label >{{shopName}}</label>
    </li>
    <label class="make_style"><p bindtap='hideView'>取消</p><p bindtap='checkRechargeInfo'>确认</p></label>
</view>


<view id='page'>

    <label id="balance">我的余额：<span>{{balance}}</span></label>
    <label id="msg">
        <p>充值送券</p>
    </label>
    <span class="line"></span>
    <view id='list'>
        <li wx:for='{{list}}' bindtap='chooseAction' data-code='{{item.itemId}}' class="{{item.isSelect}}">
            <image class='icon' src="{{urlAddress}}/me_bg_zeng.png" />
            <label class="send_style">赠{{dateFr.getNum(item.voucherAmount)}}元</label>
            <label class="item_info">{{item.promLabel}}</label>
            <label class="note" bindtap='rechageDetail' data-code='{{item.itemId}}'>优惠详情</label>
        </li>
    </view>
    <view style='clear: both;'></view>
    <view id='payWay'>
        <image class='wx_icon' src="{{imageUrl}}/icon_wechat.png"></image>
        <label>微信支付</label>
        <image class='select_icon' src="{{imageUrl}}/pay_select.png"></image>
    </view>
    <label id="makeSure" bindtap='getRechargeInfo'>我要充值</label>
</view>